<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <form class="form-inline">
        <div class="form-group">
            <label for="epoch">朝代名称</label>
            <input type="text" name="name" value="{$name}" class="form-control" id="epoch" placeholder="朝代名称">
        </div>
        <button type="submit" class="btn btn-default">搜索</button>
    </form>
</div>
<div class="wrap">
    <table class="table table-condensed">
        <thead>
        <tr>
            <th>id</th>
            <th>朝代名称</th>
            <th>创建时间</th>
            <th>修改时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach item="vo" name="data">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.name}</td>
                <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
                <td>{$vo.update_time|date="Y-m-d H:i:s",###}</td>
                <td>
                    <a href="{:url('admin/epoch/view',['id'=>$vo.id])}">查看</a>
                    <a href="{:url('admin/epoch/edit',['id'=>$vo.id])}">编辑</a>
                    <a href="{:url('admin/epoch/delete',['id'=>$vo.id])}">删除</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
</div>

</body>
</html>